#-------------------------------------------------
#
# Project created by QtCreator 2017-05-05T10:52:23
#
#-------------------------------------------------

QT       += core gui
CONFIG   += C++11
DESTDIR   = ../bin
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = screenshot
TEMPLATE = app
INCLUDEPATH += "../src/"
include(MSVC/qxt/qxt.pri)

SOURCES += MSVC/main.cpp\
        MSVC/widget.cpp \
    ../src/OE/oescreenshot_msvc/oeamplifier.cpp \
    ../src/OE/oescreenshot_msvc/oecommonhelper.cpp \
    ../src/OE/oescreenshot_msvc/oemodelview.cpp \
    ../src/OE/oescreenshot_msvc/oescreenshot.cpp

HEADERS  += MSVC/widget.h \
    ../src/OE/oescreenshot_msvc/oeamplifier.h \
    ../src/OE/oescreenshot_msvc/oecommonhelper.h \
    ../src/OE/oescreenshot_msvc/oemodelview.h \
    ../src/OE/oescreenshot_msvc/oescreenshot.h

RESOURCES += \
    res.qrc

DESTDIR_WIN = $$replace(DESTDIR, "/", "\\")
QT_BIN_DIR  = $$dirname(QMAKE_QMAKE)

RC_ICONS = a.ico

DEPLOY_TARGET = $$shell_quote($$shell_path($$DESTDIR_WIN\\$${TARGET}.exe))
QMAKE_POST_LINK += $$escape_expand(\\n) $$QT_BIN_DIR\\windeployqt --no-compiler-runtime  $${DEPLOY_TARGET}
